<?php
/**
 * Abstract Daemon
 *
 * PHP version 5
 *
 * @category   Web
 * @package    Tourstart
 * @subpackage Util
 * @author     Alex Slubsky <aslubsky@gmail.com>
 * @license    Tourstart License http://tourstart.dk/license
 * @version    SVN: $Id: $
 *
 *
 */

/**
 * Includes
 */


/**
 * Abstract Daemon
 *
 * PHP version 5
 *
 * @category   Web
 * @package    Tourstart
 * @subpackage Search
 * @author     Alex Slubsky <aslubsky@gmail.com>
 * @license    Tourstart License http://tourstart.dk/license
 * @version    Release: $Id: $
 *
 *
 */

abstract class DaemonAbstract extends Object
{
    protected $logger;
	
	protected $needRestart = false;

    public function __construct()
    {
        parent::__construct();

        $this->logger = Logger::getLogger( $this->objectName );
    }
    
    public abstract function work();
}